HDRI Course Chapter 3 Global environment Map Panel


chapter3globalenvironmentmappanel.gif














Global Environment Map panel

 

1.  Hello and welcome back. Finally, you get to have some fun now with trueSpace, lets get going.

 

2.  The goal of this chapter is to get you familiar with all the settings in the Global environment map panel and starting to use HDRI lighting.

 

3.  I am in the course layout, which you import and load into your Layout Library if you want.

 

     a.  You do this simply by right clicking on a layout, with pop-up menu select:

 

          i.   Import Layout - Go to course directory - Open up the Resource directory - Then the Layout directory and then open up the course (Layout).

 

          ii. Click on it and you should have a Layout very similar or the same as this.

 

4.  You get access to the Global Environment Mapping panel, which I am going to close for demonstration by going to the modeler library toolbar, open up the library stack and right clicking on the Foreground Global Environment (lights stack).

 

     a.  You will know if the Global environment is active if the Foreground environment button is highlighted.

 

5.  I am going to maximize the modeler window.

 

6.  Lets go through these settings:

 

          a.        Selecting the Global Env: Image will open up a Global Environment Map Browser.

 

                    i.        This is mainly used with HDRI (High Dynamic Range Image) but low dynamic range images (such as .jpg, .tif, etc.) can also be used.

 

                    ii.       Lets go ahead and open up a HDRI

 

                    iii.      You can find that in the textures library in trueSpace

                              (1)     Open up the sub-directory - HDRI.

 

                    iv.      Lets select the empty_kitchen HDRI.

 

                    v.       Note the name of the image selected will become visible on button.

 

                    vi.      Lets render this with the default settings.

                              (1)     Already you have a scene started, just a background in this case.

 

                    vii.     Now lets go ahead and load first scene for this tutorial, I am going to restore my Layout.

                              (1)     First we must load the HDRIcourse scene library into the scene library in the stack view.

                              (2)     The HDRIcourse scene library is in the Resource file for this course under scenes. All the scenes for this course can be found there.

                              (3)      In the Scenes library, Rclick, select Import Library

                                         (a)     In the course resource file under the sub-directory scenes, select HDRIcourse and open

                              (4)     Once HDRIcourse library is in stack view, go ahead and open up HDRIsetup scene into modeler.

 

                    viii.    Note that the Global Env setting will reflect the environment of the new scene loaded. This is normal behavior.

                              (1)     As another note, you can loose these settings if you

                                         (a)     Create New Scene

                                         (b)     or generate new space

 

                    ix.      So beware that the settings you select in this panel is limited to current scene.

 

                    x.       Lets go ahead and render this scene with the default settings and you should see the HDRI environment image in the background.

 

          b.       Our next setting is the Environmental Type: the type of the image used for the global environment. The types supported have already been covered in the last chapter.

 

                    i.        Detect selection is normally selected and the rendering engine will detect the HDRI type automatically. So if it is vertical cross, spherical or angular in most cases you don’t have to worry about setting this for proper mapping. Note that the automatic detection works in many cases but not in all.

 

                    ii.       With the current rendered scene the reflective ball looks to be reflecting the environment fully indicating that proper mapping is probably being applied.

                              (1)     If black spots are visible in a sphere or if scene renders abnormally you may have to manually configure the type of image.

                              (2)     Lets go ahead and select a environment type which is different then the vertical cross image being used, just to show what to look for if automatic detect can’t detect the mapping correctly.

                                         (a)     Lets select sphere

                                         (b)     Re-render scene and look at reflective sphere in the scene.

                                                   (i)      You can see the environmental map is being incorrectly mapped for the environment now. In this case we did it on purpose but you may experience this with some HDRI’s and the manual options will allow the HDRI to be mapped correctly. That is if you can identify this before rendering your master piece. So this is something to check for on your journey with HDRI.

                                         (c)     Go ahead and reset Environment type back to Detect and then re-render scene for next section.

 

          c.       The two items Light Intensity and Back. Intensity work together and are very important to understand the affects of these two settings. This makes HDRI in trueSpace very powerful having these two light settings available.

 

                    i.        Light Intensity is the value for the strength of the light from the HDRI, higher values will give brighter lighting

 

                    ii.       Back. Intensity is the strength of the reflections from the HDRI, and the brightness of the background image if shown. Higher values will give a brighter background image and stronger reflections.

 

                    iii.      Now to understand these better, lets look at our current scene, and watch what happens when we change these two items

                              (1)     Decrease the light intensity and increase the Background Intensity

                              (2)     and then re-render the scene.

                              (3)     Note that the diffuse items of scene will be darker but yet the reflective sphere is now brighter, as well as some of the other objects that have a reflective channels to them.

                              (4)     Also the background will be brighter.

                                         (a)     This makes possible for very bright backgrounds scenes with dark interiors, plus allow control over material brightest by reflectance channel as well.

                                         (b)     Experiment with these two settings, it is a very powerful way in controlling how your scene will be lighted.

 

                    iv.      Lets restore image to back where we where.

 

          d.       For our next setting lets go ahead and cover Sample and then get back to Saturation.

 

                    i.        With more samples selected, the more accurate the lighting conditions will be with original environment. While the default value is 10, the actual number of generated lights may not reflect the environment captured.

                              (1)     With our HDRI setup scene look at the cube to the left,

                                         (a)     notice that two sides are rather dark if not black.

                              (2)     Lets increase Sampling to 30 and re-render

                                         (a)     Notice how the sides of the cube is now properly lighted.

                                         (b)     So in your scenes if you see areas that don’t look lighted correctly you can try increasing the Sampling. Please note as you increase Sample the slower the scene will render.

                                         (c)     Something else to note is that the shading now of the scene is more aligned with the environment.

 

          e.       Lets go ahead and cover Saturation, first lets go ahead and lighten up the scene

 

                    i.        Select 2 for Light Intensity and re-render since scene now reflects more of the environment (shading wise or Saturation).

 

                    ii.       Saturation determines the degree of coloration of the scene caused by the environment lighting. Normally 0 meaning the natural HDRI environment saturation, negative values means less while positive values over saturates or exaggerates HDRI saturation. Each HDRI environment is just like a real environment, as in like a blue room will cause items in the room to look blue and a red sunset will cast a red glow onto everything.

                              (1)     Now go ahead adjust Saturation all the way to -1 and re-render

                                                             1)      note the matte floor is showing its original color

                                                             2)      On your own adjust Saturation to 1 and render and note the differences.

                                         (b)     If you are showing the HDRI as a background, the further your setting is from 0 the more mismatch you rendered objects will look against the HDRI background and your objects may not appear to be part of the same scene.

                                                   (i)      Still this setting is very useful to give dramatically different lighting conditions even from the same HDRI particularly when the background is not going to be rendered.

 

 

          f.       Sampling Angle allows the environment map to be blurred. Higher values will result in more blurring, which will be noticeable in reflections and refractions.

                    i.        Reset scene Sampling angle to 5 and re-render

                              (1)     note the reflections on reflective sphere and refractions (on glass sphere),

                              (2)     also the background is blurred.

 

                    ii.       This is very useful to blend in and to hide HDRI artifacts on lower resolution HDRIs used for environments, plus on larger sized renders.

 

                    iii.      Please note that image of a HDRI covers 360 degrees in any direction. Even large resolution HDRI’s will have a small area dedicated for each direction, as in like the floor may only cover a 512x512 pixels on the HDRI. So on rendering the floor from the HDRI at 1080i which is 1920x1080 will show pixellation, this setting helps blend in your rendered objects and background if used.

 

          g.       Environmental shadows allows casting shadows from HDRI lighting. Rclick to open the enviromental shadows panel. We will cover this extensively in the shadows chapter and advance chapters.

 

          h.       Use only Envir. Lights, if checked, then all lights in the scene are ignored except for the effect of the HDRI lighting. If unchecked, the effect of the HDRI lighting is combined with other lights in the scene.

 

          i.        Show Envir. Image:

                    i.        go ahead and uncheck this setting and re-render

                              (1)     When unchecked, an HDRI image is used only for the objects in the scene, and the background to the image is controlled through the regular background settings.

                    ii.       Note in the reflective ball and refractive ball will still show the background.

 

          j.        The last setting is Animate, if you have a number of HDRI which contains numbers with same name in the same texture folder, then these images are used during the animation.

 

                    i.        If the image used for the global environment is an animation as in an AVI, which current there are no accepted standard for a HDRI AVI file at this time, then individual frames of the AVI files will be used as lighting in individual frames of the animation.

 

2.       Well that covers the Global Environment Panel for now, rest assured we will be visited our new friend many times in the near future. See you in the next chapter.